package com.example.shiro.shiro.enums;

/**
 * Created by chong
 */
public enum OperationType {
    INSERT(1, "insert"),
    DELETE(2, "delete"),
    UPDATE(3, "update"),
    SELECT(4, "select");
    private Integer code;
    private String desc;

    OperationType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
